package com.atfusu.service;

import com.atfusu.base.BaseService;
import com.atfusu.bean.entity.UserFollow;
import com.atfusu.bean.vo.UserFollowVo;
import com.github.pagehelper.PageInfo;

/**
 * Title:
 * Author: fusu
 * DateTime:  2022/12/3
 * Description:
 **/
public interface UserFollowService extends BaseService<UserFollow> {

    void follow(Long houseId, Long id);

    Boolean isFollow(Long houseId, Long id);

    PageInfo<UserFollowVo> findListPage(Integer pageNum,Integer pageSize,Long userId);

    void cancelFollow(Long houseId, Long id);
}
